package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.base.BaseEntity;
import java.util.Date;

/**
 * 城轨轴箱派工任务反馈表 cgzx_planproductplan_mes
 * 
 * @author ruoyi
 * @date 2019-02-22
 */
public class CgzxPlanproductplanMes extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 派工单编号 */
	private String dispatchCode;
	/** 作业类型：
0：开工
1：完工
2：暂停
3：复工
4：异常下线
 */
	private Integer workType;
	/** 异常原因描述
异常下线时填报
 */
	private String abnormalDesc;
	/** 操作者工号 */
	private String operatorCode1;
	/** 操作者姓名 */
	private String operatorName1;
	/** 操作者工号 */
	private String operatorCode2;
	/** 操作者姓名 */
	private String operatorName2;
	/** 标志位 */
	private Integer flag;
	/** $column.columnComment */
	private String gid;
	/** 操作时间 */
	private Date createDate;

	public void setDispatchCode(String dispatchCode) 
	{
		this.dispatchCode = dispatchCode;
	}

	public String getDispatchCode() 
	{
		return dispatchCode;
	}
	public void setWorkType(Integer workType) 
	{
		this.workType = workType;
	}

	public Integer getWorkType() 
	{
		return workType;
	}
	public void setAbnormalDesc(String abnormalDesc) 
	{
		this.abnormalDesc = abnormalDesc;
	}

	public String getAbnormalDesc() 
	{
		return abnormalDesc;
	}
	public void setOperatorCode1(String operatorCode1) 
	{
		this.operatorCode1 = operatorCode1;
	}

	public String getOperatorCode1() 
	{
		return operatorCode1;
	}
	public void setOperatorName1(String operatorName1) 
	{
		this.operatorName1 = operatorName1;
	}

	public String getOperatorName1() 
	{
		return operatorName1;
	}
	public void setOperatorCode2(String operatorCode2) 
	{
		this.operatorCode2 = operatorCode2;
	}

	public String getOperatorCode2() 
	{
		return operatorCode2;
	}
	public void setOperatorName2(String operatorName2) 
	{
		this.operatorName2 = operatorName2;
	}

	public String getOperatorName2() 
	{
		return operatorName2;
	}
	public void setFlag(Integer flag) 
	{
		this.flag = flag;
	}

	public Integer getFlag() 
	{
		return flag;
	}
	public void setGid(String gid) 
	{
		this.gid = gid;
	}

	public String getGid() 
	{
		return gid;
	}
	public void setCreateDate(Date createDate) 
	{
		this.createDate = createDate;
	}

	public Date getCreateDate() 
	{
		return createDate;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("dispatchCode", getDispatchCode())
            .append("workType", getWorkType())
            .append("abnormalDesc", getAbnormalDesc())
            .append("operatorCode1", getOperatorCode1())
            .append("operatorName1", getOperatorName1())
            .append("operatorCode2", getOperatorCode2())
            .append("operatorName2", getOperatorName2())
            .append("flag", getFlag())
            .append("gid", getGid())
            .append("createDate", getCreateDate())
            .toString();
    }
}
